package com.chushouya.manager.dto.admin.notice;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.general.framework.core.lang.Dates;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("消息通知详情")
public class NoticeDTO {

    @ApiModelProperty("消息通知ID")
    private Long noticeId;

    @ApiModelProperty("消息标题")
    private String title;

    @ApiModelProperty("消息内容")
    private String content;

    @ApiModelProperty("消息类型(0系统通知 1活动通知 2订单通知 3物流通知 4资金通知)")
    private Integer noticeType;

    @ApiModelProperty("重要级别(1日常通知 2重要通知)")
    private Integer noticeLevel;

    @ApiModelProperty("推送方式")
    private Integer pushType;

    @ApiModelProperty("短信模板(当推送类型为短信时)")
    private String smsTemplate;

    @ApiModelProperty("发送类型(1手动发送 2定时发送)")
    private Integer publishType;

    @ApiModelProperty("发送时间")
    @JsonFormat(pattern = Dates.FMT_FULL_TIME)
    private Date publishTime;

    @ApiModelProperty("发送目标用户")
    private Integer publishGroup;

}
